export enum PhConfirmAction{
    Done=1,
    Cancel=0,
    Mask=-1
}
export type PhConfirmOpt = {
    doneText?:string,
    cancelText?:string
}
export type PhAlertOpt = {
    doneText?:string,
}
export interface PhModelShowRetrun{
    done(fn:(a:PhConfirmAction)=>void):void
}
export interface PhConfirm{
    open(content:string,title?:string,opt?:PhConfirmOpt):PhModelShowRetrun,
    close():void
}
export interface PhAlert{
    open(context:string,title?:string,opt?:PhAlertOpt):PhModelShowRetrun
}